package com.parking.status.sync.netty.event;

import com.parking.status.sync.netty.entity.RequestPre;
import com.parking.status.sync.netty.entity.ResponsePre;
import io.netty.channel.ChannelHandlerContext;

/**
 * Created by Administrator on 2015/9/21.
 */
public class ResponseReceivedEventParameters {
    private ChannelHandlerContext context;

    private ResponsePre responsePre;

    public ResponseReceivedEventParameters(ChannelHandlerContext context, ResponsePre request) {
        this.context = context;
        this.responsePre = request;
    }

    public ChannelHandlerContext getContext() {
        return context;
    }

    public void setContext(ChannelHandlerContext context) {
        this.context = context;
    }

    public ResponsePre getResponsePre() {
        return responsePre;
    }

    public void setResponsePre(ResponsePre responsePre) {
        this.responsePre = responsePre;
    }
}
